import { TimetableResolver } from './timetable.resolver';
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { Timetable } from './models/timetable.entity';
import { TimetableService } from './timetable.service';
import { CourseModule } from '../course/course.module';

@Module({
  imports: [TypeOrmModule.forFeature([Timetable]), CourseModule],
  providers: [TimetableService, TimetableResolver],
  exports: [TimetableService],
})
export class TimetableModule {}
